//pino, lugo, sheppard
//Assignment 1
// SSW567 6/1/14

import java.io.*;
import java.util.*;

public class Triangle_Calculator
{
	public static void main(String[] args)
	{
		Scanner keyboard = new Scanner(System.in);

		int side1, side2, side3;

		System.out.println("\n-------------------Triangle Types-------------------" +
				"\nPlease enter in the lengths of the triangle sides.\n");

		System.out.println("Side 1: ");
		side1 = keyboard.nextInt();

		System.out.println("Side 2: ");
		side2 = keyboard.nextInt();

		System.out.println("Side 3: ");
		side3 = keyboard.nextInt();

		if((side1 + side2 > side3) || (side1 + side3 > side2) || (side2 + side3 > side1))
		{
			//Equilateral
			if((side1==side2) && (side2==side3))
			{
				System.out.print("\nThis is an Equilateral Triangle");
			}

			//Isosceles
			else if ((side1 == side2) & (side2 != side3) || (side2 == side3) & (side3!= side1))
			{
				System.out.print("\nThis is an Isosceles Triangle.");
			}

			//Scalene
			else if((side1 != side2) & (side2 != side3))
			{
				System.out.print("\nThis is a Scalene Triangle.");
			}

		}
		
		//When all else fails...
		else
		{
			System.out.print("\nA triangle cannot be made with these values.");
		}
	}
}